home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-07
/
pe2ai.zip
/
PE2.DOC
< prev
next >
Wrap
Text File
|
1992-10-16
|
16KB
|
438 lines
AI-LANBIOS Low-Level Driver For XIRCOM Pocket Ethernet II Adapters (PE2.DOC)
-----------------------------------------------------
(C) Copyright 1992 ARTISOFT, Inc.
(Revised 10/15/92)
INTRODUCTION
============
The PE2AILAN.COM low-level AI-LANBIOS driver allows you to use your Xircom
Pocket Ethernet II adapters in a LANtastic network. The driver interfaces to
the following hardware:
PE2-10B2 Thin Ethernet adapter
PE2-10BT Twisted Pair Ethernet adapter
PE2-10BX Thick Ethernet adapter
In order for the Xircom adapter to operate with the LANtastic Network
Operating System (NOS), you must first install the adapter as instructed
in the Xircom User's Guide, then run the LANtastic INSTALL program. Choose
"Xircom PE10B2 Ethernet Adapter," copy PE2AILAN.COM from the Xircom diskette
to the \LANTASTI directory, then edit the STARTNET.BAT file as follows:
replace the entire line containing PE.EXE and parameters with PE2AILAN.COM
followed by no parameters. When you reboot and run STARTNET, the supporting
software (PE2AILAN.COM and AILANBIO.EXE) will be loaded. PE2AILAN.COM
communicates with the Xircom adapter, while AILANBIO.EXE provides high-level
communications across the local area network. Because of this, you
cannot run any network software until after PE2AILAN.COM and AILANBIO.EXE
have been loaded. (Note: For additional information on running
AILANBIO.EXE, refer to AILANBIO.DOC on your LANtastic driver diskette.)
There are command line switches that you can use when you run PE2AILAN.COM and
AILANBIO.EXE. These switches allow you greater flexibility in using these
programs. For information on the AILANBIO.EXE command line options refer
to AILANBIO.DOC on your LANtastic driver disk. For information on PE2AILAN.COM
command line switches, refer to "PE2AILAN.COM COMMAND LINE OPTIONS" in this
file.
RUNNING PE2AILAN.COM
====================
The syntax for running PE2AILAN.COM is
PE2AILAN[switches . . . ] [ ; comment]
where "switches" denotes any optional command line switches. If you are
using more than one switch in a command line, use a space or a forward
slash (/) to separate the arguments. If a switch takes a value (such as
when you designate the DOS multiplex number with the MPX= switch) the
switch must be followed by an equal sign (=) or a colon (:). All switch
values are checked to make sure they are valid. Illegal values produce
error messages.
These are valid switch formats:
SWITCH
/SWITCH
SWITCH:VALUE
/SWITCH=VALUE
You would use one of the first two formats for a switch that does not take
a value. For example:
PE2AILAN/HELP
You would use the third or fourth formats for a switch that takes a value.
Such as:
PE2AILAN/MPX=D7
PE2AILAN.COM COMMAND LINE OPTIONS
=================================
The valid PE2AILAN.COM switches appear below. The letters "ddd" denote that
you must provide a decimal number. The letters "hh" denote a required
hexadecimal value. Values enclosed in brackets "[]" indicate default
values if the switch is omitted. Values after the brackets denote the
valid range of variables for the switch.
----------
@switch-file
This option specifies that further switches are to be taken from an
switch file. Any switches after the @switch-file name will be used,
and the switch settings take precedence over any settings in the switch
file. You may invoke switch files from within switch files as often as
you wish. The file should contain valid switches and may contain comment
characters (;) at the beginning of each line or after switches.
For example,
PE2AILAN @setup
The file SETUP contains
; PE2AILAN.COM AI-LANBIOS driver setup file
;
MPX=D7 ; Use Multiplex number D7
IRQ=5 ; Use interrupt request 5
VERBOSE ; Display verbose information
----------
HELP or ?
This switch instructs PE2AILAN.COM to display information about the valid
command line switches, but does not install the PE2AILAN.COM driver. For
example,
PE2AILAN/help
PE2AILAN ?
See the messages section for a detailed description of the HELP display
output.
----------
IRQ=d [7] 5 or 7
This switch specifies the interrupt request (IRQ) level for the card. If
you have more than one adapter installed, each should have its own unique
IRQ.
----------
LPT=d [1] Range 1 to 3
This switch allows you to specify the parallel port where the Pocket
Ethernet Adapter II is installed. You will need to use this switch if you've
installed the adapter on LPT2 or LPT3.
----------
MPX=hh [C7] Range C0-FF
This switch specifies the DOS multiplex (MPX) number to use for
communication with AILANBIO.EXE. You will need to change this value only
if the default MPX number is in use by another application or NETBIOS.
Multiplex numbers 00 through BF are reserved for DOS use; therefore, you
must use a multiplex number between C0 and FF.
----------
NON
This switch forces the driver to run in non-bidirectional mode on the
parallel port. The Xircom driver is designed to automatically select
bidirectional or non-bidirectional parallel port mode according to what
the hardware supports. Use this switch to override a bidirectional setting
and force the computer into non-bidirectional mode.
----------
PACKET_SIZE=dddd [1500] Range 574-1500
This switch specifies the maximum size of transmitted IEEE 802.3 packets.
You may need to change this value when using certain bridges that do not
support the full 1500-byte packet size. Even when you reduce the packet
size, the low-level driver can still receive larger packets.
----------
REMOVE
This switch removes PE2AILAN.COM from memory. You must remove TSR programs in
the opposite order they were loaded. For example, if you loaded PE2AILAN.COM
and then AILANBIO, you must remove AILANBIO before PE2AILAN.COM. In addition, if
you have more than one invocation of PE2AILAN.COM and AILANBIO you must use the
MPX= switch on the command line to specify which copy of PE2AILAN.COM but not
(AILANBIO) that you want to unload. For example, if you load two copies
of PE2AILAN.COM and AILANBIO:
PE2AILAN.COM/MPX=C7
AILANBIO/ADAPTER=0/MPX=C7
PE2AILAN.COM/MPX=D7
AILANBIO/ADAPTER=1/MPX=D7
To unload these copies of PE2AILAN.COM and AILANBIO:
AILANBIO/REMOVE
PE2AILAN.COM/MPX=D7/REMOVE
AILANBIO/REMOVE
PE2AILAN.COM/MPX=C7/REMOVE
The REMOVE option will remove the most recently run copy of AILANBIO.
----------
VERBOSE
This switch is ON by default in the PE2AILAN.COM driver. It causes the
PE2AILAN.COM driver to display detailed information about the configuration
of the PE2AILAN.COM driver. See the messages section for a detailed
description of the VERBOSE output.
---------
XEROX
This switch causes all transmitted packets to be in the XEROX format
instead of the IEEE 802.3 standard. When using this switch PE2AILAN.COM will
receive both XEROX and IEEE 802.3 packets.
USING MULTIPLE ADAPTERS
=======================
PE2AILAN.COM and AILANBIO.EXE communicate with each other using a DOS multiplex
(MPX) number. Each PE2AILAN.COM and AILANBIO.EXE pair supports one adapter.
You will need to run an additional copy of PE2AILAN.COM and AILANBIO.EXE for
each additional Xircom adapter installed in your computer. Using command
line switches, you must assign each PE2AILAN.COM and AILANBIO.EXE pair a
unique multiplex, adapter and IRQ number. You must also specify the LPT port
to which each adapter is attached. For example:
PE2AILAN
AILANBIO
PE2AILAN/IRQ=5/MPX=D7/LPT=2
AILANBIO/ADAPTER=1/MPX=D7
The first invocation of PE2AILAN.COM and AILANBIO.EXE loads into the first
adapter using the default MPX number (C7) interrupt request number (7) and
adapter number (0). This adapter is attached to LPT1. The command line
switches in the second invocation instruct the NETBIOS to load into the
second adapter using interrupt request 5 and DOS MPX number D7. This
adapter is attached to LPT2.
PE2AILAN.COM MESSAGES
=====================
The PE2AILAN.COM driver produces two types of messages: Informative and Error.
All error messages are preceded by the text "ERROR:" and in those cases
the PE2AILAN.COM driver is not installed.
--------
MESSAGE:
Xircom Pocket Ethernet Adapter II AI-LANBIOS Driver Vn.nn
(C) Copyright 1992 Xircom, Inc.
Configuration: MPX = nn, LPT = nn, IRQ = nn
Packet Type : IEEE 802.3 Ethernet, 1500 bytes
Parallel Port Mode will be determined automatically
This message appears each time the low-level driver is invoked.
--------
MESSAGE:
---- Pocket Ethernet II driver installed successfully ----
This message appears after the low-level driver is successfully installed.
--------
MESSAGE:
---- Pocket Ethernet II driver NOT installed ----
This message appears if the low-level driver is not installed. The driver
will not be installed if HELP information is displayed or an error
occurred.
--------
MESSAGE:
Command line /verbose
IEEE 802.3 node address 0080C7d04489 Network packet size 1500
MPX interface number C7 Bytes of memory used 4000
LPT interrupt request (IRQ) 7 LPT number 1
This message appears if the VERBOSE switch is specified. The values
displayed specify how the low-level driver is configured. Some values may
not agree with switch values specified on the command line.
--------
MESSAGE:
Xircom Pocket Ethernet Adapter II AI-LANBIOS Driver Vn.nn
(C) Copyright 1992 Xircom, Inc.
Configuration: MPX = nn, LPT = nn, IRQ = nn
Packet Type : IEEE 802.3 Ethernet, 1500 bytes
Parallel Port Mode will be determined automatically
Usage: PE2AILAN [?][Rem][Non][Xerox][Lpt=A][Irq=B][Mpx=C][Packet_Size=D]
Where: ? if present causes this message to be displayed
Rem if present unloads the driver from memory
Non if present forces the parallel port mode to Non-Bidirectional
Xerox if present sets the packet type to Xerox Ethernet
A is the LPT port number (1, 2, or 3 )
B is the interrupt used by the parallel port (5 or 7 )
C is the Multiplexed interrupt ID in hex (C0 - FF, default C7 )
D is the maximum packet size in decimal (574-1500, default 1500)
Note: If the Non, Lpt, or Irq options are not specified, the parallel
port mode, number, and interrupt will be set automatically. If the
Xerox option is not specified, the packet type will be set to
IEEE 802.3.
---- Pocket Ethernet II Driver NOT Installed ----
This message is displayed when the HELP or ? switch is used. Each valid
switch is listed with the acceptable range of values (if any) and the base
(hex or decimal) that the numbers must be entered in. The acceptable file
size range for indirect files (@) is also listed. The low-level driver is
not installed when this switch is used.
-------
MESSAGE:
---- PE2AILAN removed ----
The PE2AILAN.COM driver has been removed from memory.
--------
ERROR: PE2AILAN not loaded
Meaning: You have issued the PE2AILAN/REMOVE command and do not have PE2AILAN.COM
loaded into memory.
Remedy: Only issue this command after the program is loaded.
-------
ERROR: Can't REMOVE -- PE2AILAN interrupts re-hooked
Meaning: You have attempted to remove PE2AILAN.COM and the interrupts are in
use by another TSR, or PE2AILAN.COM was not the last TSR loaded.
Remedy: Remove any TSRs loaded after PE2AILAN.COM. For example, if you load
PE2AILAN.COM then AILANBIO.EXE, you must first remove AILANBIO.EXE,
then you can remove PE2AILAN.COM.
-------
ERROR: Installed PE2AILAN is different version
Meaning: You have loaded a version of the PE2AILAN.COM program and attempted to
remove it from memory with the /REMOVE switch. The version with
which you are attempting to remove PE2AILAN.COM is not the same
version that was loaded.
Remedy: Remove PE2AILAN.COM with the same version of the program that was
loaded.
------
ERROR: Cannot open indirect file - @file
Meaning: The file "file" cannot be opened as an indirect file.
Remedy: The file must exist before it can be used as an indirect file.
------
ERROR: Illegal character after switch name - ??????xnnnn
Meaning: The switch ?????? is followed by a character other than "=" or
":" or the switch does not take a value.
Remedy: Only use the characters "=" or ":" to specify switch values and
do not place characters after switches that do not take values.
------
ERROR: Illegal digit in switch value - ??????=nnnn
Meaning: An illegal digit (character) occurred in the numeric
switch value.
Remedy: You must restrict numeric decimal values to the numbers 0-9.
You must restrict hexadecimal values to the numbers 0-9 and the
letters A-F.
------
ERROR: Illegal switch - ??????=nnnn
Meaning: The switch ??????=nnnn is not a recognized switch.
Remedy: You may only specify legal switches on the command line.
------
ERROR: MPX number hh is already in use - Try another number
Meaning: The multiplex (MPX) interrupt number hh is being used by another
application or low-level driver.
Remedy: Try another MPX number.
------
ERROR: Pocket Ethernet Adapter II driver already loaded
Meaning: You have attempted to load a second copy of PE2AILAN.COM into the same
adapter.
Remedy: Load only one copy of PE2AILAN.COM per adapter. If you use multiple
adapters, make sure each copy of PE2AILAN.COM has a unique MPX, IRQ and
LPT value.
------
ERROR: Pocket Ethernet Adapter II missing, not powered, or malfunctioned
Meaning: PE2AILAN.COM was unable to load into the Pocket Ethernet Adapter II.
Remedy: Make sure the adapter is connected to your computer and that it is
powered up and correctly configured to match the PE2AILAN.COM software
settings. If the error persists, contact Xircom Technical
Support. The adapter may need service.
------
ERROR: Pocket Ethernet Adapter II address EEPROM unreadable.
Meaning: PE2AILAN.COM was unable to read the node address in the adapter EEPROM
chip.
Remedy: Contact Xircom Technical Support. The adapter may need service.
------
ERROR: Pocket Ethernet Adapter II failed initialization.
Meaning: PE2AILAN.COM was unable to reset the adapter's NIC chip.
Remedy: Contact Xircom Technical Support. The adapter may need service.
------
ERROR: Pocket Ethernet Adapter II failed memory test.
Meaning: PE2AILAN.COM was unable to read or write to the adapter's on-board RAM.
Remedy: Contact Xircom Technical Support. The adapter may need service.
------
ERROR: Switch value not in range - ??????=nnnn
Valid range is ssss to eeee
Meaning: The value nnnn is not in proper range. The value "ssss"
represents the lowest acceptable value and the value "eeee"
represents the highest acceptable value.
Remedy: Limit your range of values to the acceptable range.
TESTING PE2AILAN.COM RETURN CODES (ERROR LEVEL)
===============================================
You may test the PE2AILAN.COM return code or error level in a batch file by
using the IF ERRORLEVEL command. The following error levels are returned:
0 No error has encountered. PE2AILAN.COM driver installed
6 PE2AILAN not loaded
7 Can't remove, different version loaded
8 Cannot remove, interrupts re-hooked
9 ERROR: Can't REMOVE -- AI-LANBIOS (R) still installed
------------------